package com.atguigu.stgy.admin.mapper;

import com.atguigu.stgy.model.vo.AgreementVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.atguigu.stgy.model.entity.LeaseAgreement;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LeaseAgreementMapper extends BaseMapper<LeaseAgreement> {
    List<AgreementVO> selectAgreementVOsByCondition(Page<AgreementVO> page, @Param(Constants.WRAPPER) QueryWrapper<AgreementVO> wrapper);
}